<template>
    <div>
      <el-table
          ref="table"
          @select="onSelectChange"
          :data="tableData" style="width: 100%"
      >
        <el-table-column label="序号" type="index" width="180"></el-table-column>
        <el-table-column prop="diameter" label="直径（mm）"/>
        <el-table-column prop="weight" label="重量（kg/m）">
          <el-input v-model="input"></el-input>
        </el-table-column>
      </el-table>
      <el-pagination
          layout="prev, pager, next"
          @current-change="handleTableChange"
          :total="total">
      </el-pagination>
  </div>
</template>

<script>
export default {
  name: "EquipmentModel",
  data(){
      return{
          tableData:[
            {
              diameter:"6",
              weight:"0.222",
            },
            {
              diameter:"6.5",
              weight:"0.222",
            },
            {
              diameter:"8",
              weight:"0.222",
            },
            {
              diameter:"10",
              weight:"0.222",
            },
            {
              diameter:"12",
              weight:"0.222",
            },
          ],
      }
  },
}
</script>

<style scoped>

</style>